package com.tpl.core.basedata.service.sys;


import com.tpl.core.common.page.Page;
import com.tpl.core.entity.sys.TriggerTask;

public interface TriggerTaskService {
	
	Page getTaskPage(int pageIndex, int pageSize);

	TriggerTask getTaskById(long id);
	
	void doSave(TriggerTask task);
	
	void doChangeState(long id,int state);

	void doDelete(long id);
	
	void changeCronExp(TriggerTask task);
	/**
	 * 
	 * 说明 :写执行日志
	 * @param id
	 * @param state
	 * @param info
	 */
	void doWriteLog(Long id,int state,String info);
}